package com.lun.blog.dto;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

public class MessageDto implements Serializable {

    private Long id;
    private String nickname;
    private String context;
    private Date createTime;
    private List<MessageChild> children;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public String getContext() {
        return context;
    }

    public void setContext(String context) {
        this.context = context;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public List<MessageChild> getChildren() {
        return children;
    }

    public void setChildren(List<MessageChild> children) {
        this.children = children;
    }
}
